package com.web.service;

import com.dto.BaseDto;
import com.entity.Festival;
import com.page.PageInfo;

public interface FestivalService {
    public BaseDto<Festival> getAll() throws Exception ;
    public BaseDto<Festival> selectByPrimaryKey(int fid) throws Exception;
    public BaseDto<Festival> selectByPrimaryKeyWithActivitytype(int fid) throws Exception;
    public BaseDto<Festival> getFestivalsByPage(PageInfo pageInfo) throws Exception;
    public BaseDto<Festival> add(Festival festival) throws Exception;
    public BaseDto<Festival> update(int fid) throws Exception;
}
